package com.mastermind;

import java.awt.Dimension;
import java.awt.Point;

public class CONFIG {

	// game area dimension
	public static Dimension 		WINDOW_SIZE = new Dimension(400, 700);
	
	// peg size and location variables
	public static int 				HOLE_SIZE = 40;
	public static int				HOLE_X_OFFSET = 15;
	public static int				HOLE_Y_OFFSET = 15;
	public static int				TOP_OFFSET = 70;
	public static int				HOLE_STROKE_SIZE = 2;
	
	// black line locations
	public static int 				TOP_BAR_OFFSET = 65;
	public static int 				BOTTOM_BAR_OFFSET = 645;
	public static int				SIDE_BAR_OFFSET = 250;
	public static int				SIDE_BAR_END = BOTTOM_BAR_OFFSET;
	public static int				BAR_STROKE_SIZE = 5;
	
	// black box size
	public static Point				SOLUTION_MASK_LOCAION = new Point(5, 5);
	public static Dimension			SOLUTION_MASK_SIZE = new Dimension(SIDE_BAR_OFFSET - 13, TOP_BAR_OFFSET - 13);
	
	// solution draw location
	public static int				SOLUTION_TOP_OFFSET = 8;
	
	// color selection area location
	public static int				COLOR_SELECTION_VERTICAL_OFFSET = 653;
	public static int				COLOR_SELECTION_HOLE_OFFSET = 22;
	
	// debugging switches
	public static boolean 			SHOW_SOLUTION = true;
	public static boolean			DRAW_MOUSE_CROSSHAIR = false;
	
	//  mouse position offset
	public static int				MOUSE_Y_OFFSET = 53;
	public static int				MOUSE_X_OFFSET = 3;
	
	// current row box variables
	public static int				CURRENT_ROW_STROKE_SIZE = 3;
	public static int				CURRENT_ROW_LEFT_OFFSET = 5;
	public static int				CURRENT_ROW_BOX_WIDTH = SIDE_BAR_OFFSET - 20;
	public static int				CURRENT_ROW_BOX_HEIGHT = 50;
	public static int 				CURRENT_ROW_BOTTOM_OFFSET = 125;
	public static int				CURRENT_ROW_BOTTOM_RIG = 5;
	
	// check row box variables
	public static int				CHECK_ROW_STROKE_SIZE = 3;
	public static int				CHECK_ROW_LEFT_OFFSET = 265;
	public static int				CHECK_ROW_BOX_WIDTH = 125;
	public static int				CHECK_ROW_BOX_HEIGHT = 50;
	public static int 				CHECK_ROW_BOTTOM_OFFSET = 125;
	public static int				CHECK_ROW_BOTTOM_RIG = 5;
}
